package fr.vahren.sriksal.controller.bean;

import java.io.Serializable;

public class MapTile implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -8168316550193478034L;

	public enum Elevation {
		LOW, MED, HIGH
	}

	public enum Biome {
		DESERT, PLAIN, JUNGLE, SNOW, SWAMP, FOREST, WATER
	}

	private Elevation elevation;
	private Biome biome;
	
	private boolean hasTown;

	private long id;

	

	public MapTile(Elevation elevation, Biome biome, boolean hasTown, long id) {
		super();
		this.elevation = elevation;
		this.biome = biome;
		this.hasTown = hasTown;
		this.id = id;
	}






	/**
	 * @return the hasTown
	 */
	public boolean isHasTown() {
		return hasTown;
	}






	/**
	 * @param hasTown the hasTown to set
	 */
	public void setHasTown(boolean hasTown) {
		this.hasTown = hasTown;
	}



	/**
	 * @return the elevation
	 */
	public Elevation getElevation() {
		return elevation;
	}

	/**
	 * @param elevation
	 *            the elevation to set
	 */
	public void setElevation(Elevation elevation) {
		this.elevation = elevation;
	}

	/**
	 * @return the biome
	 */
	public Biome getBiome() {
		return biome;
	}

	/**
	 * @param biome
	 *            the biome to set
	 */
	public void setBiome(Biome biome) {
		this.biome = biome;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

}
